
<?php use_helper('Object') ?>
<?php echo form_tag('structure/ganalyticupdate', Array('id' => 'frmstructure', 'name' => 'frmstructure')) ?>

<script type="text/javascript">
function formchecking() {	document.getElementById('frmstructure').submit();
}
</script>

<table width='100%' align=center>
	<tr>
    	<td valign="middle" align="center">
        <form name="myForm">        	
   	    <table>
            	<tr>
                	<td align="left" colspan="3">
<?php echo link_to('User List','user/list') ?>&nbsp;&nbsp;&nbsp;
<?php echo link_to('Structure','structure/list') ?>&nbsp;&nbsp;&nbsp;
<?php echo link_to('CSS','structure/css') ?>&nbsp;&nbsp;&nbsp;
<?php echo link_to('Google Analytic','structure/ganalytic') ?>&nbsp;&nbsp;&nbsp;
<?php echo link_to('Share Script','structure/sharescript') ?>&nbsp;&nbsp;&nbsp;
<?php echo link_to('Landing Page Title','structure/landingtitle') ?>
                	</td>
                </tr>
            	<tr>
                	<td align="left" colspan="3" class="popTitle">Edit Google Analytic</td>
                </tr>                
                <tr>
                	<td align="left" colspan="3">
                    <?php 
                    	echo '<textarea id="f_value" name="f_value" style="width:400px;height:400px;">';
                    	echo $tbl_setting->getFValue();
						echo '</textarea>';
                    ?>
                    </td>
                </tr>
            </table>
            </form>
        </td>
    </tr>
    <tr>
    	<td valign="middle" align="center">
    		<button type="button" onClick="location.href='<?php echo url_for('/user/main'); ?>'">Cancel</button>&nbsp;&nbsp;
    		<button type="button" onClick="return formchecking()">Save</button>
    	</td>
    </tr>
</table>

</form>
